class MockData {
  static final List<Map<String, dynamic>> products = [
    {
      "id": "1001",
      "name": "iPhone 14 Pro Max",
      "description": "256GB 暗紫色",
      "price": 9999.00,
      "originalPrice": 10999.00,
      "imageUrl":
          "https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/7e78629420a392da6fd3e34dae9fac5d.png",
      "stock": 100,
      "tags": ["新品", "热销"],
      "specifications": {"color": "暗紫色", "storage": "256GB", "model": "A2896"}
    },
    {
      "id": "1002",
      "name": "MacBook Pro 14",
      "description": "M2 Pro 16GB+512GB",
      "price": 14999.00,
      "originalPrice": 15999.00,
      "imageUrl":
          "https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/82ddffd7562c54f9166fa876c143ff22.png",
      "stock": 50,
      "tags": ["限时优惠"],
      "specifications": {
        "color": "深空灰",
        "memory": "16GB",
        "storage": "512GB",
        "chip": "M2 Pro"
      }
    },
    {
      "id": "1003",
      "name": "AirPods Pro 2代",
      "description": "主动降噪 无线充电",
      "price": 1899.00,
      "originalPrice": 1999.00,
      "imageUrl": "assets/AirPods.png",
      "stock": 200,
      "tags": ["热卖"],
      "specifications": {
        "color": "白色",
        "model": "MQD83CH/A",
        "connectivity": "蓝牙5.0"
      }
    },
    {
      "id": "1004",
      "name": "iPad Air 5",
      "description": "M1芯片 10.9英寸",
      "price": 4499.00,
      "originalPrice": 4799.00,
      "imageUrl": "assets/iPad.png",
      "stock": 150,
      "tags": ["优惠"],
      "specifications": {
        "color": "星光色",
        "storage": "64GB",
        "network": "WiFi",
        "screen": "10.9英寸"
      }
    },
    {
      "id": "1005",
      "name": "Apple Watch Series 8",
      "description": "GPS 运动版",
      "price": 3199.00,
      "originalPrice": 3499.00,
      "imageUrl": "assets/Apple.png", // 使用本地默认图片，因为原数据中图片URL为空
      "stock": 80,
      "tags": ["新品"],
      "specifications": {
        "color": "午夜色",
        "size": "45mm",
        "connectivity": "GPS",
        "case": "铝金属"
      }
    }
  ];
}
